package My.project.Entity;

/**
 * The entity represents the user of the application,
 * and is responsible for determining whether the user is log in.
 * @author Bell
 *
 */
public class User {

	private static String uid = null;

	public static String getUid() {
		return uid;
	}

	public static void setUid(String _uid) {
		uid = _uid;
	}
	
	public static boolean isLogin() {
		if (uid != null) return true;
		return false;
	}
	
	public static void logout() {
		uid = null;
	}
}
